<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * Use for convert dd-mm-yy <=> yy-mm-dds
 */
if ( ! function_exists('convert_date')) {
	function convert_date($date)
	{
		$temp = explode('-', $date);
		$temp = array_reverse($temp);
		return implode('-', $temp);
	}
}
?>